package com.ruoyi.wms.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.wms.mapper.WmsInitDateMapper;
import com.ruoyi.wms.domain.WmsInitDate;
import com.ruoyi.wms.service.IWmsInitDateService;

/**
 * 结账初始日期Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-04-06
 */
@Service
public class WmsInitDateServiceImpl implements IWmsInitDateService 
{
    @Autowired
    private WmsInitDateMapper wmsInitDateMapper;

    /**
     * 查询结账初始日期
     * 
     * @param uuid 结账初始日期主键
     * @return 结账初始日期
     */
    @Override
    public WmsInitDate selectWmsInitDateByUuid(String uuid)
    {
        return wmsInitDateMapper.selectWmsInitDateByUuid(uuid);
    }

    /**
     * 查询结账初始日期列表
     * 
     * @param wmsInitDate 结账初始日期
     * @return 结账初始日期
     */
    @Override
    public List<WmsInitDate> selectWmsInitDateList(WmsInitDate wmsInitDate)
    {
        return wmsInitDateMapper.selectWmsInitDateList(wmsInitDate);
    }

    /**
     * 新增结账初始日期
     * 
     * @param wmsInitDate 结账初始日期
     * @return 结果
     */
    @Override
    public int insertWmsInitDate(WmsInitDate wmsInitDate)
    {
        return wmsInitDateMapper.insertWmsInitDate(wmsInitDate);
    }

    /**
     * 修改结账初始日期
     * 
     * @param wmsInitDate 结账初始日期
     * @return 结果
     */
    @Override
    public int updateWmsInitDate(WmsInitDate wmsInitDate)
    {
        return wmsInitDateMapper.updateWmsInitDate(wmsInitDate);
    }

    /**
     * 批量删除结账初始日期
     * 
     * @param uuids 需要删除的结账初始日期主键
     * @return 结果
     */
    @Override
    public int deleteWmsInitDateByUuids(String[] uuids)
    {
        return wmsInitDateMapper.deleteWmsInitDateByUuids(uuids);
    }

    /**
     * 删除结账初始日期信息
     * 
     * @param uuid 结账初始日期主键
     * @return 结果
     */
    @Override
    public int deleteWmsInitDateByUuid(String uuid)
    {
        return wmsInitDateMapper.deleteWmsInitDateByUuid(uuid);
    }
}
